var runtime.updateMaxProcsG
14 uses
runtime (current package)
proc.go#L7011: updateMaxProcsG updateMaxProcsGState
proc.go#L7087: updateMaxProcsG.g = getg()
proc.go#L7088: lockInit(&updateMaxProcsG.lock, lockRankUpdateMaxProcsG)
proc.go#L7090: lock(&updateMaxProcsG.lock)
proc.go#L7091: if updateMaxProcsG.idle.Load() {
proc.go#L7094: updateMaxProcsG.idle.Store(true)
proc.go#L7095: goparkunlock(&updateMaxProcsG.lock, waitReasonUpdateGOMAXPROCSIdle, traceBlockSystemGoroutine, 1)
proc.go#L7113: newprocs = updateMaxProcsG.procs
proc.go#L7147: if updateMaxProcsG.idle.Load() {
proc.go#L7148: lock(&updateMaxProcsG.lock)
proc.go#L7149: updateMaxProcsG.procs = procs
proc.go#L7150: updateMaxProcsG.idle.Store(false)
proc.go#L7152: list.push(updateMaxProcsG.g)
proc.go#L7154: unlock(&updateMaxProcsG.lock)
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |